package com.ruoyi.system.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 群组成员对象 app_group_user
 * 
 * @author ruoyi
 * @date 2023-02-27
 */
public class AppGroupUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 群组id，群号码 */
    @Excel(name = "群组id，群号码")
    private String groupId;

    /** 群成员id */
    @Excel(name = "群成员id")
    private Long userId;

    /** 群成员手机号 */
    @Excel(name = "群成员手机号")
    private String mobile;

    /** V标签状态，0：无，1：有 */
    @Excel(name = "V标签状态，0：无，1：有")
    private Long labelState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setLabelState(Long labelState) 
    {
        this.labelState = labelState;
    }

    public Long getLabelState() 
    {
        return labelState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("groupId", getGroupId())
            .append("userId", getUserId())
            .append("mobile", getMobile())
            .append("labelState", getLabelState())
            .toString();
    }
}
